<?php
require_once "common.php";

//slides -轮播图
//btn_nav 小图标
//recommend_goods 推荐商品
//brand 品牌表
//goods 商品表
//activity 活动表

//slide
$sql = "SELECT * FROM `slide` order by `sort_order` asc limit 5";
$aSlides = $db->getMultiRecords($sql);

$aRet = [];
if(!empty($aSlides)){
	$aRet['result']['slides'] = $aSlides;
}

echo json_encode($aRet);